package vp.remedies.dr.home.allmain.remedy.activity;

import vp.remedies.dr.home.R;
import vp.remedies.dr.home.utils.Constantce;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class ImproveSexualWillingnessActivity extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.improve_sexual_willingness);
		setView(Constantce.LANGUAGE_ENGLISH);
	}
	
	void setView(String language) {
		TextView headerTxt = (TextView) findViewById(R.id.hearderTxt);
		TextView detail1Txt = (TextView) findViewById(R.id.detail1Txt);
		TextView detail2Txt = (TextView) findViewById(R.id.detail2Txt);
		TextView detail3Txt = (TextView) findViewById(R.id.detail3Txt);
		TextView detail4Txt = (TextView) findViewById(R.id.detail4Txt);
		TextView detail5Txt = (TextView) findViewById(R.id.detail5Txt);
		TextView detail6Txt = (TextView) findViewById(R.id.detail6Txt);
		TextView detail7Txt = (TextView) findViewById(R.id.detail7Txt);
		TextView detail8Txt = (TextView) findViewById(R.id.detail8Txt);
		TextView detail9Txt = (TextView) findViewById(R.id.detail9Txt);
		TextView detail10Txt = (TextView) findViewById(R.id.detail10Txt);
		TextView detail11Txt = (TextView) findViewById(R.id.detail11Txt);
		TextView detail12Txt = (TextView) findViewById(R.id.detail12Txt);
		TextView detail13Txt = (TextView) findViewById(R.id.detail13Txt);
		TextView detail14Txt = (TextView) findViewById(R.id.detail14Txt);

		String headerTxtString = null;
		String improve_sexual_willingness_1 = null;
		String improve_sexual_willingness_2 = null;
		String improve_sexual_willingness_3 = null;
		String improve_sexual_willingness_4 = null;
		String improve_sexual_willingness_5 = null;
		String improve_sexual_willingness_6 = null;
		String improve_sexual_willingness_7 = null;
		String improve_sexual_willingness_8 = null;
		String improve_sexual_willingness_9 = null;
		String improve_sexual_willingness_10 = null;
		String improve_sexual_willingness_11 = null;
		String improve_sexual_willingness_12 = null;
		String improve_sexual_willingness_13 = null;
		String improve_sexual_willingness_14 = null;

		if (language.equals(Constantce.LANGUAGE_HINDI)) {
			headerTxtString = getResources().getString(
					R.string.improve_sexual_willingness_header_hi);
			improve_sexual_willingness_1 = getResources().getString(
					R.string.improve_sexual_willingness_1_hi);
			improve_sexual_willingness_2 = getResources().getString(
					R.string.improve_sexual_willingness_2_hi);
			improve_sexual_willingness_3 = getResources().getString(
					R.string.improve_sexual_willingness_3_hi);
			improve_sexual_willingness_4 = getResources().getString(
					R.string.improve_sexual_willingness_4_hi);
			improve_sexual_willingness_5 = getResources().getString(
					R.string.improve_sexual_willingness_5_hi);
			improve_sexual_willingness_6 = getResources().getString(
					R.string.improve_sexual_willingness_6_hi);
			improve_sexual_willingness_7 = getResources().getString(
					R.string.improve_sexual_willingness_7_hi);
			improve_sexual_willingness_8 = getResources().getString(
					R.string.improve_sexual_willingness_8_hi);
			improve_sexual_willingness_9 = getResources().getString(
					R.string.improve_sexual_willingness_9_hi);
			improve_sexual_willingness_10 = getResources().getString(
					R.string.improve_sexual_willingness_10_hi);
			improve_sexual_willingness_11 = getResources().getString(
					R.string.improve_sexual_willingness_11_hi);
			improve_sexual_willingness_12 = getResources().getString(
					R.string.improve_sexual_willingness_12_hi);
			improve_sexual_willingness_13 = getResources().getString(
					R.string.improve_sexual_willingness_13_hi);
			improve_sexual_willingness_14 = getResources().getString(
					R.string.improve_sexual_willingness_14_hi);
		} else {
			headerTxtString = getResources().getString(
					R.string.improve_sexual_willingness_header_en);
			improve_sexual_willingness_1 = getResources().getString(
					R.string.improve_sexual_willingness_1_en);
			improve_sexual_willingness_2 = getResources().getString(
					R.string.improve_sexual_willingness_2_en);
			improve_sexual_willingness_3 = getResources().getString(
					R.string.improve_sexual_willingness_3_en);
			improve_sexual_willingness_4 = getResources().getString(
					R.string.improve_sexual_willingness_4_en);
			improve_sexual_willingness_5 = getResources().getString(
					R.string.improve_sexual_willingness_5_en);
			improve_sexual_willingness_6 = getResources().getString(
					R.string.improve_sexual_willingness_6_en);
			improve_sexual_willingness_7 = getResources().getString(
					R.string.improve_sexual_willingness_7_en);
			improve_sexual_willingness_8 = getResources().getString(
					R.string.improve_sexual_willingness_8_en);
			improve_sexual_willingness_9 = getResources().getString(
					R.string.improve_sexual_willingness_9_en);
			improve_sexual_willingness_10 = getResources().getString(
					R.string.improve_sexual_willingness_10_en);
			improve_sexual_willingness_11 = getResources().getString(
					R.string.improve_sexual_willingness_11_en);
			improve_sexual_willingness_12 = getResources().getString(
					R.string.improve_sexual_willingness_12_en);
			improve_sexual_willingness_13 = getResources().getString(
					R.string.improve_sexual_willingness_13_en);
			improve_sexual_willingness_14 = getResources().getString(
					R.string.improve_sexual_willingness_14_en);
		}
		headerTxt.setText(headerTxtString);
		detail1Txt.setText(improve_sexual_willingness_1);
		detail2Txt.setText(improve_sexual_willingness_2);
		detail3Txt.setText(improve_sexual_willingness_3);
		detail4Txt.setText(improve_sexual_willingness_4);
		detail5Txt.setText(improve_sexual_willingness_5);
		detail6Txt.setText(improve_sexual_willingness_6);
		detail7Txt.setText(improve_sexual_willingness_7);
		detail8Txt.setText(improve_sexual_willingness_8);
		detail9Txt.setText(improve_sexual_willingness_9);
		detail10Txt.setText(improve_sexual_willingness_10);
		detail11Txt.setText(improve_sexual_willingness_11);
		detail12Txt.setText(improve_sexual_willingness_12);
		detail13Txt.setText(improve_sexual_willingness_13);
		detail14Txt.setText(improve_sexual_willingness_14);

	}
}